﻿@model ApCMS.Models.LinkModels 
@{
    ViewBag.Title = "友情链接";
}
@section Header{
    <a href="@Url.Action("Index", "Home")" data-icon="back">返回</a>
    <h1>@(ViewBag.Title)</h1>
    <a href="@Url.Action("Index", "Home")" data-icon="grid">首页</a>
}
@if (Model != null && Model.LinkList != null)
{
    <ul data-role="listview">
        @foreach (var list in Model.LinkList)
        {            
            <li><a href="@(list.SiteUrl)">
               
                  <p><img alt="@(list.UserName)" src="@(list.ImageUrl)" /></p>  
                <h2>@(list.UserName)</h2>
            </a></li>
        }
    </ul> 
}